#[derive(serde::Serialize)]
pub struct ResponseContent<T> {
	pub status: i32,
	pub msg: String,
	pub data: T,
}

#[macro_export]
macro_rules! make_resp {
	($status: expr, $msg: expr, $data: expr) => {
		warp::reply::json(&basic::ResponseContent { status: $status, msg: $msg, data: $data })
	};
}
